package com.fand.stater.model.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Author: zhangjiabin
 * Email: javaboyok@163.com
 * CreateDate: 2021/6/22
 * Version: 1.0
 */
@ApiModel("用户登录记录")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class SysUserESIndexRecord {

    @ApiModelProperty("时间戳")
    private Long time;

    @ApiModelProperty("时间")
    private String dateTime;

    @ApiModelProperty("ip")
    private String ip;

    @ApiModelProperty("地点")
    private String address;

    @ApiModelProperty("用户id")
    private Long UserId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("用户编码")
    private String userCode;

    @ApiModelProperty("类型")
    private String eventCode;

}
